xentop: fix potential memory leak
authorCharles Arnold <carnold@suse.com>
Thu, 2 Apr 2015 15:42:02 +0000 (09:42 -0600)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 2 Apr 2015 15:51:00 +0000 (16:51 +0100)
commitf4d2d0e9a2159154e327a3f05b467824ae5e9e15
tree8d4501ee6be78cb79a6d147a5648a0a8aba97b5f
parent1a362e2a36dd06d748531917d07dbab42fe0eae3
xentop: fix potential memory leak

On a read failure the qstats buffer is not freed.

Signed-off-by: Charles Arnold <carnold@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/xenstat/libxenstat/src/xenstat_qmp.c